<?php
    include 'bd.php';
    $echo_result = mysql_query("SELECT * FROM abon");
    $echo_myrow = mysql_fetch_array($echo_result);
    
    do
        {		
        $new_top = $echo_myrow["top"];
        $new_left = $echo_myrow["left"] + 200;
            printf("
        <a style='top:%spx; left:%spx' href='javascript:show_info(%s,%s,%s)'>%s</a>",
                    $echo_myrow["top"],$new_left,$echo_myrow["id"],$echo_myrow["top"],$echo_myrow["left"],$echo_myrow["addr"]
                    );
        }
    while($echo_myrow = mysql_fetch_array($echo_result));
?>
